//
//  NotificationHelp.h
//  Common
//
//  Created by guoshiqing on 2018/5/19.
//  Copyright © 2018年 www.bitkinetic.com. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString *const NotificationDidEnterBackground;
extern NSString *const NotificationWillEnterForeground;
extern NSString *const NotificationGo2MainTBC;
extern NSString *const NotificationGo2LoginVC;
extern NSString *const NotificationLoginSuccess;
extern NSString *const NotificationAutoLoginSuccess;

// 业务通知
// 消息中心产生了新的消息
extern NSString *const NotificationMsgCenterHaveNewMsg;


@interface NotificationHelp : NSObject

+ (void)postNotification:(NSString *)notification object:(id)object;

+ (void)postNotification:(NSString*)notification userInfo:(NSDictionary*)userInfo object:(id)object;

+ (id)addNotification:(NSString*)notification object:(id)object usingBlock:(void (^)(NSNotification *note))block;

+ (id)addNotification:(NSString*)notification usingBlock:(void (^)(NSNotification *note))block;

@end
